//
//  WTMessageFactory.h
//  WTLiveSDKDemo
//
//  Created by ben on 16/9/26.
//  Copyright © 2016年 ben. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "WTBaseMessageModel.h"



@interface WTMessageFactory : NSObject


/**
 点对点私信聊天RemoteExt

 @return RemoteExt
 */
+ (NSDictionary*)chatMessageRemoteExt;


/**
 进入聊天室时候的附属信息 用于读取房间成员的信息

 @return RemoteExt
 */
+ (NSDictionary*)enterChatRoomRemoteExt;

/**
 聊天室发送消息

 @return RemoteExt
 */
+ (NSDictionary*)chatRoomMessageRemoteExt;

/**
 聊天室弹幕消息

 @return RemoteExt
 */
+ (NSDictionary*)chatRoomDanMuMessageRemoteExt;


/**
 退出聊天室消息

 @return RemoteExt
 */
+ (NSDictionary*)chatRoomExitRemoteExt;


/**
 进入聊天室消息

 @return RemoteExt
 */
+ (NSDictionary*)chatRoomEnterRemoteExt;


/**
 聊天室礼物消息

 @param giftInfo 礼物信息

 @return RemoteExt
 */
+ (NSDictionary*)giftRemoteExt:(NSDictionary*)giftInfo;


/**
 主播回来聊天室消息

 @return RemoteExt
 */
+ (NSDictionary*)ownerEnterRemoteExt;


/**
 主播离开聊天室消息

 @return RemoteExt
 */
+ (NSDictionary*)ownerLeaveRemoteExt;


/**
 主播端结束直播消息

 @return RemoteExt
 */
+ (NSDictionary*)exitLiveRemoteExt;




/**
 接受聊天室消息体里面的RemoteExt生成一个聊天室的model对象

 @param remoteExt 消息体的remoteExt

 @return 聊天室的model对象
 */
+ (WTBaseMessageModel*)chatRoomMessageModelWithRemoteExt:(NSDictionary*)remoteExt;



/**
 接受私信消息体里面的RemoteExt生成一个私信聊天的model对象

 @param remoteExt 消息体的remoteExt

 @return 私信聊天的model对象
 */
+ (WTBaseMessageModel*)chatMessageModelWithRemoteExt:(NSDictionary*)remoteExt;
@end
